# -*- coding: utf-8 -*-
from django.conf.urls import *
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    # Example:
    # (r'^helloworld/', include('helloworld.foo.urls')),

    # Uncomment the admin/doc line below and add 'django.contrib.admindocs'
    # to INSTALLED_APPS to enable admin documentation:
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    #url(r'^NewUser/$', 'app_accounts.views.NewUser', name = 'accounts_NewUser'),
    #url(r'^Admin/$', 'app_accounts.views.HomePage_Admin', name = 'HomePage_Admin'),
    url(r'^register/','app_accounts.views.register',name='Regist'),
    url(r'^login/','app_accounts.views.login',name='Login'),
    url(r'^logout/','app_accounts.views.logout',name='Logout'),
    url(r'^UserCheck/$','app_accounts.views.UserCheck',name='UserNameCheck'),
    url(r'^EmailCheck/$','app_accounts.views.EmailCheck',name='EmailCheck'),
)
